package com.yang.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "guest")
public class GuestEntity {

    @Id
    @Column(name = "id")
    private long id;

    @Column(name = "name")
    private String name;

    @Column(name = "tel")
    private  String tel;

    @Column(name = "idetification")
    private String idetifcation;

    @Column(name = "status")
    private String status;

    public GuestEntity() {
    }
    public GuestEntity(long id,String name,String tel,String idetifcation,String status) {
        this.id = id;
        this.name = name;
        this.tel = tel;
        this.idetifcation = idetifcation;
        this.status = status;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getIdetifcation() {
        return idetifcation;
    }

    public void setIdetifcation(String idetifcation) {
        this.idetifcation = idetifcation;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "GuestEntity{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", tel='" + tel + '\'' +
                ", idetifcation='" + idetifcation + '\'' +
                ", status='" + status + '\'' +
                '}';
    }
}
